<!--导入表格-->
<template>
    <el-dialog title="导入" :visible.sync="dialogTableVisible" width="600px">
        <div class="btm pt30 cen">
            <el-upload class="upload-demo" drag action="https://jsonplaceholder.typicode.com/posts/"  accept=".xls,.xlsx" limit="1">
                <i class="el-icon-upload"></i>
                <div class="el-upload__text">将文件拖到此处，或<span class="ls">点击上传</span></div>
                <div class="el-upload__tip" slot="tip">只能上传xlsx文件，且不超过2MB</div>
            </el-upload>
        </div>
    </el-dialog>
</template>
<script>
    export default {
        data() {
            return {
                dialogTableVisible: false
            }
        },
        components: {},
        methods: {
            isjd(){
                if (this.dialogTableVisible) {
                    this.dialogTableVisible = false
                } else {
                    this.dialogTableVisible = true
                }
            }
        },
        mounted() {}
    }

</script>
<style scoped>

</style>
